package cn.wolfcode.web.modules.orderinfo.mapper;

import cn.wolfcode.web.modules.orderinfo.entity.TbOrderInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Update;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author MAOWEI
 * @since 2023-08-01
 */
public interface TbOrderInfoMapper extends BaseMapper<TbOrderInfo> {

    @Update("update tb_order_info set status = #{status}, receive_time = #{receiveTime} where id = #{id}")
    void sureReceive(TbOrderInfo tbOrderInfo);
}
